package com.softcloud.gamesbase;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * Created by 喆歆 on 2015/4/21.
 */
public class Hero implements Serializable{

    private String heroName;
    private String heroDes;
    private List<HeroSkill> skills = new ArrayList<HeroSkill>();
    private int heroImageId;

    public Hero(String heroName, List<HeroSkill> skills, int heroImageId) {
        this.heroName = heroName;
        this.skills = skills;
        this.heroImageId = heroImageId;
    }

    public Hero(String heroName, int heroImageId) {
        this.heroName = heroName;
        this.heroImageId = heroImageId;
    }

    public void addSkill(HeroSkill skill){
        skills.add(skill);
    }
    public void setHeroDes(String Des){
        heroDes = Des;
    }
    public String getHeroName(){
        return heroName;
    }
    public String getHeroDes(){
        return heroDes;
    }
    public List<HeroSkill> getSkills(){
        return skills;
    }
    public int getHeroImageId(){
        return heroImageId;
    }
}
